#ifndef POINT_H
#define POINT_H

class Point
{
    int x = 0;
    int y = 0;

public:
    Point(int x = 0, int y = 0) : x(x), y(y)
    {
    }
    void set_pos(const int &x, const int &y)
    {
        this->x = x;
        this->y = y;
    }
    void set_pos_x(const int &x) { this->x = x; }
    void set_pos_y(const int &y) { this->y = y; }
    int get_pos_x() { return x; }
    int get_pos_y() { return y; }
};

#endif